# == Schema Information
#
# Table name: order_items
#
#  id           :integer          not null, primary key
#  order_id     :integer
#  product_id   :integer
#  total_amount :float
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#  quantity     :integer
#  comments     :string(255)
#  item_num     :string(255)
#

=begin
    t.integer  "order_id"
    t.integer  "product_id"
    t.float    "total_amount"
    t.datetime "created_at",   :null => false
    t.datetime "updated_at",   :null => false
    t.integer  "quantity"
    t.string   "comments"
    t.string   "item_num" 
=end

class OrderItem < ActiveRecord::Base
  belongs_to :order
  belongs_to :product  
end
